package com.javaProject.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 
 * @TableName teacher
 */
@TableName(value ="teacher")
@Schema(description = "教师信息")
@Data
public class Teacher implements Serializable {
    /**
     * 
     */
    @TableId(type=IdType.AUTO)
    @Schema(description = "教师id")
    private Integer tNub;

    /**
     * 
     */
    @Schema(description = "账号")
    private String username;

    /**
     * 
     */
    @Schema(description = "密码")
    private String password;

    /**
     * 
     */
    @Schema(description = "教师名字")
    private  String tName;



    @Schema(description = "学院")
    private String college;

    /**
     * 
     */
    @Schema(description = "手机号")
    private Integer phone;

    /**
     * 
     */
    @Schema(description = "信息")
    private String message;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}